//==============================================================================
// royal guard_anim.txt
//==============================================================================

//==============================================================================
define Cleave
{
   set hotspot
   {
      version
      {
         VisualParticle sfx a muspell cleave
      }
   }
}

//==============================================================================
define Muspell
{
   TechLogic none/Relic Fire of Muspell
   set hotspot
   {
      version
      {
         Visualnone jimmy
      }
   }   
   set hotspot
   {
      version
      {
         Visualparticle sfx a fire weapon
      }
   }
}

//==============================================================================
define Sword
{
   SetSelector
   {
       
      TechLogic none/Copper Weapons/Bronze Weapons/Iron Weapons
      set hotspot
      {
         version
         {
            Visual Attachments X Double Sword Standard
			connect ATTACHPOINT Muspell hotspot
         }
      }         
      set hotspot
      {
         version
         {
            Visual Attachments X Double Sword Copper
			connect ATTACHPOINT Muspell hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Attachments X Double Sword Bronze
			connect ATTACHPOINT Muspell hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Attachments X Double Sword Iron
			connect ATTACHPOINT Muspell hotspot
         }
      }
   }     
}

//==============================================================================
define Head
{
   set hotspot
   {
      version
      {
         Visual Infantry X 2 Sword Fighter Head Iron
      }
   }
   set hotspot
   {
      version
      {
         Visual Infantry X 2 Sword Fighter Head Iron
      }
   }
   set hotspot
   {
      version
      {
         Visual Infantry X 2 Sword Fighter Head Iron
      }
   }
   set hotspot
   {
      version
      {
         Visual Infantry X 2 Sword Fighter Head Iron
      }
   }
}

//==============================================================================
anim Idle
{
    SetSelector
    {
        CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry X 2 Sword Fighter_IdleA
					connect RightHand sword hotspot
					connect LeftHand sword hotspot
					Connect TopOfHead Head hotspot
				}
			}
   	    }
     	SetSelector 
   	    {
     		set hotspot
            {
                version
                {
					VisualGranny Fanatic_IdleA
         	    }
            }
        }
    }
}



//==============================================================================
anim Walk
{
    SetSelector
    {
        CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					 Visual Infantry X 2 Sword Fighter_WalkA
                     tag FootstepLeft 0.00 true   
                     tag FootstepRight 0.40 true
			         tag SpecificSoundSet 0.00 false SoldierMarching checkVisible
			         tag SpecificSoundSet 0.40 false SoldierMarching checkVisible			   
					 connect RightHand sword hotspot
					 connect LeftHand sword hotspot
					 Connect TopOfHead Head hotspot
				}
		    }
   	    }
   	    SetSelector 
        {
     		set hotspot
            {
                version
                {
					VisualGranny Fanatic_WalkA
         	    }
            }
   	    }
    }
}

//==============================================================================
anim Attack
{
    SetSelector
    {
	TechLogic none/Relic Gjallarhorn
	SetSelector
    {
        set hotspot
        {
            version
            {
				 Visual Infantry X 2 Sword Fighter_AttackA
                 tag Attack 0.71 true   
                 tag GenericSound 0.40 true   
                 tag SpecificSoundSet 0.63 false SwordSwing checkVisible 
				 Connect TopOfHead Head hotspot
				 connect RightHand sword hotspot
				 connect LeftHand sword hotspot
            }
			version
            {
				Visual Infantry X 2 Sword Fighter_AttackB
                tag Attack 0.59 true   
                tag GenericSound 0.40 true   
				Connect TopOfHead Head hotspot
				connect RightHand sword hotspot
				connect LeftHand sword hotspot
            }
        }
    }
	SetSelector //GJALLARHORN ACTIVE
    {
        set hotspot
        {
            version
            {
				 Visual Infantry X 2 Sword Fighter_AttackA
                 tag Attack 0.71 true   
                 tag GenericSound 0.40 true   
                 tag SpecificSoundSet 0.63 false SwordSwing checkVisible 
				 Connect TopOfHead Head hotspot
				 connect RightHand sword hotspot
				 connect LeftHand sword hotspot
				 length 0.98
            }
			version
            {
				Visual Infantry X 2 Sword Fighter_AttackB
                tag Attack 0.59 true   
                tag GenericSound 0.40 true   
				Connect TopOfHead Head hotspot
				connect RightHand sword hotspot
				connect LeftHand sword hotspot
				length 0.85
            }
        }
    }
}
}

//==============================================================================
anim Death
{
    SetSelector
    {
        set hotspot
        {
            version
            {
				Visual Infantry X 2 Sword Fighter_DeathA
				connect RightHand sword hotspot
				connect LeftHand sword hotspot
				Connect TopOfHead Head hotspot
            }
        }
    }
}


//==============================================================================
anim Bored
{
   SetSelector
   {
      CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Infantry X 2 Sword Fighter_boredA
					connect RightHand sword hotspot
					connect LeftHand sword hotspot
					Connect TopOfHead Head hotspot
				}
			}
   	}
   	SetSelector 
   	{
     		set hotspot
         {
            version
            {
					VisualGranny Fanatic_IdleA
         	}
         }
   	}
   }
}

//==============================================================================
anim Flail
{
   SetSelector
   {
 //     TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry X 2 Sword Fighter_FlailA
				tag SpecificSoundSet 0.25 false MaleFlail checkVisible				
				connect RightHand sword hotspot
				connect LeftHand sword hotspot
				Connect TopOfHead Head hotspot
         }
      }
   }
}

//==============================================================================
anim Cinematic
{
   SetSelector
   {
      set hotspot
      {
         name Fanatic_x01wecannot
         version
         {
            VisualGranny Fanatic_x01wecannot
         }
		}
		set hotspot
      {
         name Fanatic_x02itisforbidden
         version
         {
            VisualGranny Fanatic_x02itisforbidden
         }
		}
		set hotspot
      {
         name Fanatic_x05ambushA
         version
         {
            VisualGranny Fanatic_x05ambushA
         }
		}
		set hotspot
      {
         name Fanatic_x05ambushB
         version
         {
            VisualGranny Fanatic_x05ambushB
         }
		}
		set hotspot
      {
         name Fanatic_x12itislord
         version
         {
            VisualGranny Fanatic_x12itislord
         }
		}
		set hotspot
      {
         name Fanatic_x12honortokastor
         version
         {
            VisualGranny Fanatic_x12honortokastor
         }
		}
	}
}

//==============================================================================
anim WhirlwindAttack
{
   SetSelector
   {
//      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry X 2 Sword Fighter_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.71 true   
               tag GenericSound 0.40 true   
               tag SpecificSoundSet 0.63 false FireGiantAttack checkVisible	
//-- end auto generated section
				Connect TopOfHead Head hotspot
				connect RightHand sword hotspot
				connect LeftHand sword hotspot
				Connect FRONTABDOMEN Cleave hotspot
         }
			version
         {
				Visual Infantry X 2 Sword Fighter_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.59 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
				Connect TopOfHead Head hotspot
				connect RightHand sword hotspot
				connect LeftHand sword hotspot
				Connect FRONTABDOMEN Cleave hotspot
         }
      }
   }
}

